﻿using System;
using System.Runtime.Serialization;
using UFIDA.U9.WSS.ProxyService.Exceptions;

namespace UFIDA.U9.WSS.DebugService
{
    /// <summary>
    ///     调试异常
    /// </summary>
    public class DebugException : WSException
    {
        /// <summary>
        ///     调试服务异常编码
        /// </summary>
        public const int DebugExceptionCode = -5200;

        public DebugException() : base(DebugExceptionCode)
        {
        }

        public DebugException(string msg) : base(DebugExceptionCode, msg)
        {
        }

        public DebugException(string msg, Exception inner) : base(DebugExceptionCode, msg, inner)
        {
        }

        protected DebugException(SerializationInfo info, StreamingContext context) : base(DebugExceptionCode,
            info, context)
        {
        }
    }
}